home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 24
/
AACD 24.iso
/
AACD
/
Information
/
WebSites
/
Eyetech
/
DOWNLOAD
/
PARNE030.LHA
/
parnet
/
sources
/
Makefile
< prev
next >
Wrap
Makefile
|
1993-11-18
|
1KB
|
47 lines
CC=sc
ASM=a68k
LN=slink
EXE= parnet.device
EXE2= parnet.device.020
SYMS= syms.m
CFLAGS= NOSTKCHK STREQ IDIR / OPT OPTTIME PARMS=REG
AFLAGS= -iXD0:include -m32766
CSRCS= parnet.c task.c unit_ctl.c unit_dgr.c unit_str.c
ASRCS= tag.asm wakeup.asm par.asm lock.asm
COBJS= parnet.o task.o unit_ctl.o unit_dgr.o unit_str.o
C2OBJS= parnet.o2 task.o2 unit_ctl.o2 unit_dgr.o2 unit_str.o2
AOBJS= tag.o wakeup.o par.o lock.o
all: $(EXE2) $(EXE)
$(EXE) : $(SYMS) $(COBJS) $(AOBJS)
$(LN) from $(AOBJS) $(COBJS) ADDSYM SC SD TO $(EXE) LIB lib:sc.lib lib:amiga.lib BATCH
$(EXE2) : $(SYMS) $(C2OBJS) $(AOBJS)
$(LN) from $(AOBJS) $(C2OBJS) ADDSYM SC SD TO $(EXE2) LIB lib:sc.lib lib:amiga.lib BATCH
clean:
-delete $(COBJS) $(C2OBJS) $(AOBJS)
.c.o:
$(CC) $(CFLAGS) GST $(SYMS) $<
.c.o2:
$(CC) $(CFLAGS) GST $(SYMS) CPU 68020 $<
rename $*.o $@
.c.o4:
$(CC) $(CFLAGS) GST $(SYMS) CPU 68040 $<
rename $*.o $@
.asm.o:
$(ASM) $(AFLAGS) $<
$(SYMS) : syms.c
$(CC) NMINC MCCONS STREQ NOOBJNAME MAKEGST=syms.m syms.c